package com.cn.test.ui.example;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.cn.test.R;
import com.cn.test.base.BaseFragment;
import com.cn.test.mvp.presenter.LoginUserPresenter;
import com.cn.test.mvp.presenter.view.LoginUserView;

/**
 * 我的
 * Created by chengaofu on 2017/6/21.
 */

public class EmptyMineFragment extends BaseFragment<LoginUserView, LoginUserPresenter> implements LoginUserView {


    @Override
    protected void initViewsAndEvents() {

    }

    private void supportRequestWindowFeature(int featureActionBarOverlay) {
    }


    @Override
    public void onResume() {
        super.onResume();

    }

    @Override
    protected int getErrorLayoutId() {
        return R.layout.activity_main;
    }

    @Override
    protected int getNormalLayoutId() {
        return R.layout.activity_main;
    }

    @Override
    protected LoginUserPresenter createPresenter() {
        return new LoginUserPresenter(getContext(), this);
    }


    @Override
    public void requestFailed(String message) {
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        // TODO: inflate a fragment view
        View rootView = super.onCreateView(inflater, container, savedInstanceState);
        return rootView;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
    }

    @Override
    public void onHiddenChanged(boolean hidden) {
        super.onHiddenChanged(hidden);

    }
}